package org.xqyy.eval.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * Created by luoxiaoming on 16-12-20.
 */
@Table(name = "t_dept")
public class Dept implements Serializable {

    private static final long serialVersionUID = 833057322600610463L;

    @Id
    private String code;
    private String name;
    private String leader;
    private Boolean status;
    private String pcode;
    @Transient
    private String papername;

    public String getPapername() {
        return papername;
    }

    public void setPapername(String papername) {
        this.papername = papername;
    }

    @Column(name ="group_code")
    private String groupCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getLeader() {
        return leader;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }
}
